﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;

namespace BUS
{
    public class PhieuNhapHang_BUS
    {
        private PhieuNhapHang_DAO data = new PhieuNhapHang_DAO();
        public DataTable GetDanhSachKH()
        {
            return data.GetDanhSachKH();
        }
        public int proc_Ins_PhieuNhap(PhieuNhapHang_DTO dto)
        {
            return data.proc_Ins_PhieuNhap(dto);
        }
        public int proc_Ins_CT_PhieuNhap(PhieuNhapHang_DTO dto)
        {
             return data.proc_Ins_CT_PhieuNhap(dto);
        }
        public DataTable GetDanhSachNL()
        {
            return data.GetDanhSachNL();
        }
        public void XoaPhieuNhapKhiNhapCTThatBai(int MaPN)
        {
            data.XoaPhieuNhapKhiNhapCTThatBai(MaPN);
        }
        
    }
}
